package com.ruoyi.common.enums;

/**
 * @ProjectName: back
 * @Package: com.ruoyi.common.enums
 * @ClassName: UserType
 * @Author: haiyue
 * @Description: 用户类型
 * @Date: 2025/5/16 下午 2:54:05
 * @Version: 1.0
 */
public enum UserType {
    SYSTEM_USER("0","系统账号"),
    ENTERPRISE_USER("1","企业账号"),
    PLATFORM_USER("2","平台账号"),
    OPERATION_USER("3","运营账号"),
    AGENT_USER("4","代理商账号");

    private String code;

    private String desc;

    UserType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
